package com.java.tutorials.jdk7.paths;

import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * Created by xuzhike on 2016/1/27.
 * http://www.java2s.com/Code/Java/JDK-7/GetabsolutepathfromagivenPath.htm
 * Get absolute path from a given Path
 */
public class GetabsolutepathfromagivenPath {
    public static void main(String[] args) throws Exception {
        Path zip = Paths.get("E:\\OpenSources\\MyProjects\\test");
        System.out.println(zip.toAbsolutePath().toString());
    }
}
